<h1>Editing authorship</h1>

<%= error_messages_for :authorship %>

<% form_for(:authorship, :url => authorship_path(@authorship), :html => { :method => :put }) do |f| %>
  <p>
    <b>Blog</b><br />
    <%= f.text_field :blog_id %>
  </p>

  <p>
    <b>User</b><br />
    <%= f.text_field :user_id %>
  </p>

  <p>
    <%= submit_tag "Update" %>
  </p>
<% end %>

<%= link_to 'Show', authorship_path(@authorship) %> |
<%= link_to 'Back', authorships_path %>